def isLeapYear(m):
    if (m%4==0 and m%100!=0) or m%400==0 :
        return True
    else:
        return False
    
m=int(input("请输入一个年份："))
print(isLeapYear(m))
    